package com.ld.security.auth.server.base.po;

import com.ld.security.auth.common.base.constants.JwtTokenConstant;
import com.ld.security.common.core.base.po.SuperPo;
import com.ld.security.common.mybatis.anno.SqlKey;
import lombok.Data;

@Data
public class UserNameAndTokenStatus implements SuperPo {

    @SqlKey
    private String username;

    @SqlKey
    private JwtTokenConstant.tokenStatus tokenStatus;


    public UserNameAndTokenStatus(String username, JwtTokenConstant.tokenStatus tokenStatus) {
        this.username = username;
        this.tokenStatus = tokenStatus;
    }
}
